package logic.bean;

import java.io.Serializable;


/**
 * @project qysw_e-commerce
 * @description banner
 * @author zhangnannan
 * @Time 2015年3月26日 上午9:03:43
 */
public class EBannerInfo
        implements
        Serializable
{
	
	private static final long serialVersionUID = 1L;
	
	private String            bannerUrl;            //banner的详情url地址
	private String            content;              //banner内容，通常保存商品主键编号列表
	private long              id;                   //banner主键编号
	private String            name;                 //banner名称
	private String            picUrl;               //banner封面入口图片url
	private String            shortDesc;            //banner短简介
	private int               tag;                  //banner标签：1==打折活动；2==促销活动；3==热销活动；4==优惠活动；5==抢购活动；6==新品上市活动
	private String            title;                //banner标题
	private int               type;                 //banner类型：1==单个商品；2==多个商品
	private int               relateType;           //关联类型 1=菜品 2=外链 3=活动
	                                                 
	public EBannerInfo() {
		super();
	}
	
	public EBannerInfo(String bannerUrl, String content, long id, String name, String picUrl, String shortDesc, int tag, String title, int type, int relateType) {
		super();
		this.bannerUrl = bannerUrl;
		this.content = content;
		this.id = id;
		this.name = name;
		this.picUrl = picUrl;
		this.shortDesc = shortDesc;
		this.tag = tag;
		this.title = title;
		this.type = type;
		this.relateType = relateType;
	}
	
	public int getType() {
		return type;
	}
	
	public void setType(int type) {
		this.type = type;
	}
	
	public String getBannerUrl() {
		return bannerUrl;
	}
	
	public void setBannerUrl(String bannerUrl) {
		this.bannerUrl = bannerUrl;
	}
	
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	
	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getPicUrl() {
		return picUrl;
	}
	
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	public String getShortDesc() {
		return shortDesc;
	}
	
	public void setShortDesc(String shortDesc) {
		this.shortDesc = shortDesc;
	}
	
	public int getTag() {
		return tag;
	}
	
	public void setTag(int tag) {
		this.tag = tag;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public int getRelateType() {
		return relateType;
	}
	
	public void setRelateType(int relateType) {
		this.relateType = relateType;
	}
	
}
